makemigrations

FFIB 5 years ago
parent
commit
4313ef66ac
1 changed files with 31 additions and 0 deletions
  1. 31 0
      live/migrations/0006_roomuserinfo.py

+ 31 - 0
live/migrations/0006_roomuserinfo.py

@@ -0,0 +1,31 @@
1
+# Generated by Django 2.2.12 on 2020-05-19 06:11
2
+
3
+from django.db import migrations, models
4
+
5
+
6
+class Migration(migrations.Migration):
7
+
8
+    dependencies = [
9
+        ('live', '0005_anchorinfo_banner'),
10
+    ]
11
+
12
+    operations = [
13
+        migrations.CreateModel(
14
+            name='RoomUserInfo',
15
+            fields=[
16
+                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17
+                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
18
+                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
19
+                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
20
+                ('room_id', models.CharField(db_index=True, help_text='房间唯一标识', max_length=32, verbose_name='room_id')),
21
+                ('anchor_id', models.CharField(blank=True, help_text='主播唯一标识', max_length=32, verbose_name='anchor_id')),
22
+                ('user_id', models.CharField(blank=True, help_text='用户唯一标识', max_length=32, verbose_name='anchor_id')),
23
+                ('openid', models.CharField(blank=True, help_text='用户 openid', max_length=32, verbose_name='openid')),
24
+                ('share_openid', models.CharField(blank=True, help_text='分享用户 openid', max_length=32, verbose_name='share_openid')),
25
+            ],
26
+            options={
27
+                'verbose_name': '直播间用户信息',
28
+                'verbose_name_plural': '直播间用户信息',
29
+            },
30
+        ),
31
+    ]